home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 9
/
FM Towns Free Software Collection 9.iso
/
t_os
/
tool
/
wings
/
w2_src
/
pd_menu.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-11-16
|
701b
|
21 lines
#define ITEM_MAX 16
struct PD_menu {
char title[32];
int x, y, n, len;
int ( *call_menu )( int );
struct {
char *str[ITEM_MAX];
int x[ITEM_MAX], y[ITEM_MAX];
int ( *call_item[ITEM_MAX] )( struct PD_menu *, int );
} item;
};
void PDM_make_item_adress( struct PD_menu *, int * );
void PDM_display( char *, char *, struct PD_menu *, int *, int );
void PDM_erase( char *, struct PD_menu *, int );
int PDM_get_item_adress( int *, int, int );
void PDM_display_title( char *, char *, struct PD_menu * );
void PDM_title_on( char *, struct PD_menu * );
void PDM_title_off( char *, struct PD_menu * );
void PDM_item_clic( char *, char *, struct PD_menu *, int );